package com.person.yan.a02_dagger.component;

import com.person.yan.a02_dagger.MainActivity;
import com.person.yan.a02_dagger.dao.UserDao;
import com.person.yan.a02_dagger.module.MainActivityModule;

import dagger.Component;
import dagger.Module;

/**
 * Created by ywy on 2017-09-30.
 */
@Component(modules = MainActivityModule.class)
public interface MainActivityComponentByModule {

    UserDao providerDao();

    public void injectToActivity(MainActivity activity);
}
